<div id="left_frame" style="width:100%; margin:0 auto;">
	<style type="text/css">	
		#warning-content-wrapper{
			width:100%;
			float:left;
		}
		
		#warning-content{
			width:940px;
			min-height:425px;
			margin:0 auto;
		}
		
        table{margin:20px auto;}
        .tcat {
            background: #0181ec;
            color: #FFF;
            font: bold 13pt arial, helvetica, sans-serif;
        }
        #pannel-tr{
            width:600px;
            height:150px;
        }
        .panelsurround {
            width:600px;
            height:150px;
            background: whiteSmoke;
            color: black;
        }
        
        .panel {
            height:130px;
            background: white;
            color: black;
            padding: 10px;
            border: 1px outset;
        }
    </style>
				
    <table class="tborder" cellpadding="6" cellspacing="1" border="0" min-width="70%" >
        <tbody>
            <tr> <td class="tcat">Thamza Message</td> </tr>
            <tr id="pannel-tr">
                <td class="panelsurround" align="center">
                    <div class="panel">
                        <div align="left">
                            <div style="margin: 10px">
                                <span style="margin-top:0; padding-top:0; margin-bottom:20px; display:block">
                                    &nbsp;&nbsp;<span style="color:#f00"><?php echo($this->message); ?></span><br/><br/>
                                   <?php if(!$this->disableRedirect){ ?>
                                   	&nbsp; You will automatic redirect to home page after <span id="time" style="color:blue"></span> seconds.<br/>
                                    <?php } ?>
                                    &nbsp; Please <a href="<?php echo $this->baseUrl("employer/index"); ?>"> click here </a> to go to homepage
                                </span>
                                
                                <script type="text/javascript">
                                    function change(time){
                                        if(time == -1)
                                            window.location = "<?php echo $this->baseUrl('employer/index');?>";
                                        else{
                                            $("#time").html(time);
                                            time = time-1;
                                            setTimeout("change("+time+")",1000);
                                        }
                                    }
									<?php if(!$this->disableRedirect){ ?>
	                                    change(10);
									<?php } ?>
                                </script>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
</div><!-- End #left_frame -->
